JAVAC=javac
JFLAGS=-classpath .:/net/raquella/ldc/redes/nanoxml/java/nanoxml-lite-2.2.3.jar

all: DCLI.class DRepServer.class DMonServer.class

DCLI.class: DCLI.java DRep.java Utilities.java DMonException.java DMonImpl.java
	$(JAVAC) $(JFLAGS) DCLI.java 

DRepServer.class: DRepServer.java DRep.java DRepImpl.java DRepException.java Utilities.java DMon.java DMonImpl.java DMonException.java
	$(JAVAC) $(JFLAGS) DRepServer.java

DMonServer.class: DMonServer.java DMon.java DMonImpl.java DMonException.java
	$(JAVAC) $(JFLAGS) DMonServer.java

clean:
	rm -rf DCLI.class DRep.class DRepServer.class DRepImpl.class DRepException.class Utilities.class DMonServer.class DMon.class DMonImpl.class DMonException.class

